package com.ruoyi.wfshou.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员管理对象 user_proj
 * 
 * @author zongying
 * @date 2023-06-19
 */
public class UserProj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 研究员编号 */
    @Excel(name = "研究员编号")
    private Long userId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long projId;

    private String userName;
    private String projName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProjName() {
        return projName;
    }

    public void setProjName(String projName) {
        this.projName = projName;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setProjId(Long projId) 
    {
        this.projId = projId;
    }

    public Long getProjId() 
    {
        return projId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("projId", getProjId())
                .append("projName", getProjName())
                .append("userName", getUserName())
            .toString();
    }
}
